package com.youkeyi.ddy.cloud.basic.pub;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan({
        "com.youkeyi.ddy.cloud.common.aspect",
        "com.youkeyi.ddy.cloud.common.config",
        "com.youkeyi.ddy.cloud.common.constant",
        "com.youkeyi.ddy.cloud.common.context.**",
        "com.youkeyi.ddy.cloud.common.request",
        "com.youkeyi.ddy.cloud.common.response",
        "com.youkeyi.ddy.cloud.common.utils",
        "com.youkeyi.ddy.cloud.basic.pub.**",
        "com.youkeyi.ddy.cloud.common.wx.applet.message.service"
})
@MapperScan({
        "com.youkeyi.**.mapper"
})
public class YoukeyiDdyCloudBasicPublicApplication {

    public static void main(String[] args) {
        SpringApplication.run(YoukeyiDdyCloudBasicPublicApplication.class, args);
    }

}
